import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class Listdome {
    public static void main(String[] args) {
        System.out.println("基本类型：byte 二进制位数：" + Byte.SIZE);
        System.out.println("包装类：java.lang.Byte");
        System.out.println("最小值：Byte.MIN_VALUE=" + Byte.MIN_VALUE);
        System.out.println("最大值：Byte.MAX_VALUE=" + Byte.MAX_VALUE);
        System.out.println();
        System.out.println("基本类型：byte 二进制位数：" + Long.SIZE);
        System.out.println("包装类：java.lang.Long");
        System.out.println("Long：Byte.MIN_VALUE=" + Long.MIN_VALUE);
        System.out.println("LongLong：Byte.MAX_VALUE=" + Long.MAX_VALUE);
        System.out.println();

        List<String> arrayList = new ArrayList<>();
        List<Integer> linkedList = new LinkedList<>();


        arrayList.add("1111");
        arrayList.add("2222");
        for (String l:arrayList
             ) {
            System.out.println(l);
        }
        linkedList.add(4);
        linkedList.add(5);
        for (int num:linkedList
             ) {
            System.out.println(num);
        }
        Iterator<String> ait = arrayList.listIterator();
        while (ait.hasNext()){
            System.out.println(ait.next());
        }

//        测试分支
//        测试dev
//        test
//        text
    }
}
